.home-layout {
  min-height: 100vh;
  background: linear-gradient(135deg, #e0f7fa 0%, #fdfbfb 100%);
  font-family: 'Segoe UI', 'Roboto', sans-serif;
}

/* 顶部 Header：玻璃态 + 渐变 + 模糊 */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  margin: 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* logo 图标 */
.header .logo {
  width: 60px;
  height: auto;
  margin-right: 20px;
  background: none;
}

/* 页面标题 */
.header .title {
  flex-grow: 1;
  text-align: center;
  font-size: 22px;
  font-weight: bold;
  color: #2c3e50;
  letter-spacing: 1px;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}

/* 用户信息 */
.header .avatar {
  margin-right: 10px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
  border-radius: 50%;
}

.header .nickname {
  max-width: 200px;
  color: #2f3542;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;

  /* 可选呼吸动画 */
  animation: glowText 3s ease-in-out infinite;
}

@keyframes glowText {
  0%, 100% {
    color: #2f3542;
    text-shadow: 0 0 4px rgba(0, 255, 255, 0.2);
  }
  50% {
    color: #0077ff;
    text-shadow: 0 0 8px rgba(0, 128, 255, 0.4);
  }
}

/* 菜单区域 */
.header .ant-menu {
  background: transparent;
  backdrop-filter: blur(10px);
  border-radius: 12px;
  box-shadow: inset 0 0 8px rgba(255, 255, 255, 0.1);
}

.header .ant-menu-item {
  color: #2c3e50 !important;
  font-weight: 500;
  font-size: 16px;
  transition: all 0.3s ease;
  padding: 0 20px;
}

.header .ant-menu-item-selected {
  background: linear-gradient(to right, #6dd5ed, #2193b0) !important;
  color: white !important;
  border-radius: 8px;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(33, 147, 176, 0.3);
}

.header .ant-menu-item:hover {
  background-color: rgba(255, 255, 255, 0.15) !important;
}

/* 侧边栏可保留浅色 */
.sider {
  background: rgba(255, 255, 255, 0.8);
}

/* 内容区域风格统一 */
.content-layout {
  background: linear-gradient(135deg, #e8f0f5, #fdfbfb);
}
.footer {
  text-align: center;
  background: transparent;
  color: #848587;
  padding: 12px 0;
  font-size: 14px;

  /* 新增关键样式 */
  margin: 0 auto;
  max-width: 1000px; // 限制最大宽度，避免页面过宽时视觉不居中
}
.breadcrumb {
  margin: 0 auto 8px auto;
  padding: 2px 16px;
  width: calc(100% - 32px);
  max-width: 1000px;

  background: rgba(255, 255, 255, 0.06);  // 更透明
  backdrop-filter: blur(6px);
  border-radius: 10px;

  font-size: 13px;
  color: rgba(0, 0, 0, 0.5);  // 更轻的文字颜色

  // 删除阴影与边框，减弱块感
  box-shadow: none;
  border: none;

  // separator 更淡
  .ant-breadcrumb-separator {
    color: rgba(0, 0, 0, 0.2);
  }

  // link 正常态轻淡，hover 明显
  .ant-breadcrumb-link {
    color: rgba(0, 0, 0, 0.5);

    &:hover {
      color: #1677ff;
    }
  }
}
